<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="noindex, nofollow" name="robots" />
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script src="../fckeditor.js"></script>
<style>
.movedivOp{
	margin: 3px;
	padding: 5px;
	border: #eeeeee 1px solid;
	background:expression(
		onmouseover=function(){
		if(this.className!='getdivOp'){
		this.className="PopupSelectionBox";}},
		onmouseout=function(){
		if(this.className!='getdivOp'){
		this.className = 'movedivOp' ;}},
		onclick = function(){
		this.className = 'getdivOp' ;}) 
	}
.PopupSelectionBox
{
	margin: 3px;
	padding: 5px;
	border: #ff9933 1px solid !important;
	background-color: #fffacd !important;
	cursor: pointer;
	cursor: hand;
}
.getdivOp{
	margin: 3px;
	padding: 5px;
	border: #666666 1px solid !important;
	background-color: #cccccc !important;
	cursor: pointer;
	cursor: hand;
}
.acctmentcss{
	cursor: pointer;
	cursor: default;
}
</style>
</head>
<body>
<span style="color:red;">注意:必须在编辑器中输入于此[***XXX***]相同的字段才能识别!</span>
<table  cellpadding="3" cellspacing="2" style="cursor:hand">
<tr nowrap>
	<td class = "movedivOp" >
	<div onclick="insertParent('content','调查表内容');">[***调查表内容***]&nbsp;(调查表内容)</div>
	</td>
	<td class = "acctmentcss">
	</td>
</tr>
<tr>
	<td class = "movedivOp">
	<div onclick="insertParent('subject','调查表名称');">[***调查表名称***]&nbsp;(调查表标题)</div>
	</td>
	<td class = "acctmentcss">
	</td>
</tr>
<tr>
	<td class = "movedivOp">
	<div onclick="insertParent('start_time','开始时间');"> [***开始时间***]&nbsp;(调查创建时间)</div>
	 </td>
	 <td class = "acctmentcss">
	</td>
</tr>
<tr>
	<td class = "movedivOp">
	<div onclick="insertParent('end_time','结束时间');"> [***结束时间***]&nbsp;(调查创建时间)</div>
	 </td>
	 <td class = "acctmentcss">
	</td>
</tr>
<tr>
	<td class = "movedivOp">
	<div onclick="insertParent('creat_user','创建人');">[***创建人***]&nbsp;(调查创建人)</div>
	</td>
	<td class = "acctmentcss">
	</td>
</tr>
<tr>
	<td class = "movedivOp">
	<div onclick="insertParent('explain','备注');">[***备注***]&nbsp;(调查备注)</div>
	</td>
	<td class = "acctmentcss">
	</td>
</tr>
</table>
</body>
</html>
<script>
var oEditor		= window.parent.InnerDialogLoaded() ;
var FCK			= oEditor.FCK ;
//var oEditor = parent.FCKeditorAPI.GetInstance('fckeditor1') ;
//oEditor.InsertHtml( '<img  src="'+$get(flag+imgNums).value+'" alt="'+flag+imgNums+'"/>');
function insertParent(mode_id,mode_title){
	FCK.InsertHtml('[***'+mode_title+'***]');
}
</script>